package com.gkzf.ai.module.crm.controller.admin.product.vo.repayment;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author Huawei
 * @date 2025-03-31 15:06
 */
@Schema(description = "管理后台 - CRM 产品还款方式新增/修改 Request VO")
@Data
public class CrmProductRepaymentSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "21014")
    private Long id;

    @Schema(description = "产品id", example = "6906")
    private Long productId;

    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    private String name;

    @Schema(description = "分类编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "分类编号不能为空")
    private String no;
}
